package cn.hsa.xxx.bookData.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 书籍库存表
 * 
 * @author chai
 * @email 2990038655@qq.com
 * @date 2021-08-18 19:28:06
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("book_inventory")
public class BookInventoryDO implements Serializable {
	private static final long serialVersionUID = 1928811113068566665L;

	/**
	 * 库存UUID
	 */
	@TableId
	private String inventoryUuid;
	/**
	 * 书籍信息UUID
	 */
	private String bookUuid;
	/**
	 * 库存总数，累加
	 */
	private Integer inventoryQuantity;
	/**
	 * 库存剩余数
	 */
	private Integer inventoryRemaining;
	/**
	 * 库存数更新时间
	 */
	private Date inventoryQuantityUpdateTime;
	/**
	 * 库存信息创建 时间
	 */
	private Date createTime;
	/**
	 * 库存信息更新时间
	 */
	private Date updateTime;

}
